Components Resources

Using Components


Table of Contents

  1. Components Overview
  2. Using Components
  3. When to Use v2 Components
  4. Migrating from v1 to v2 Components
  5. Building v2 Components

One of the greatest assets of Flash is its components—prebuilt packages of functionality that allow you to build more standards-oriented rich client applications. Flash MX 2004 takes components to the next level as an integrated framework of classes for solving common problems:

  • UI components give an application its visual look and behavior
  • Data components connect to back-end business logic and bring information to the client
  • Media components integrate sound and video streaming using a familiar interface

Visual authoring makes it possible for programmers and designers alike to prototype an entire front end without writing code. Runtime APIs give you the flexibility to solve highly sophisticated problems. The object-oriented framework provides a foundation upon which to extend and encapsulate solutions for future problems.

The following resources take you all the way from configuring your first component visually to building applications completely in class-based code. With possibilities these broad and deep, only your imagination is the limit.

What Are Components?

Tutorials and Samples

Data Control: Data Binding Components (Macromedia Flash MX 2004: Putting the "Application" in RIA)
Your application is only as relevant as the data it presents.


Examples Using Components

Tutorials and Samples

Building a Video Presentation with Flash MX 2004

Learn to use the new components to display, control, and play back video in this step-by-step example.

Data Binding in Macromedia Flash MX Professional 2004

Build two simple examples and learn to connect data to interface elements using Flash data components.

Controlling Media Components with Macromedia Flash MX 2004 Behaviors

Display video content easily with these custom behaviors that control video files in a Media Playback component.

Building a Tip of the Day Application in Flash MX 2004

Get off the Timeline. Use Flash screens and web services to build this simple app.
Part 1: Using Screens and Components
Part 2: Working with Web Services
Part 3: Submitting Tips to the Web Service

Building a Google Search Application with Flash MX Professional 2004

Familiar with Visual Basic? Build on your current skills as you learn Flash application development in this tutorial.


Setting Components Visually

Documentation

Behaviors

Tutorials and Samples

Building a Tip of the Day Application in Flash MX 2004

Get off the Timeline. Use Flash screens and web services to build this simple app.
Part 1: Using Screens and Components
Part 2: Working with Web Services
Part 3: Submitting Tips to the Web Service


Skinning Components

More Resources

Controlling Components with ActionScript

Documentation